import request from '@/utils/request'
// 查询实时告警数量（告警等级）                               pio-microservice-biz/pio/alarm/realTimeAlarmLevelCount
export const getgaojinshuliangapi = params => request.get('pio-microservice-biz/pio/alarm/realTimeAlarmLevelCount', { params })
// 实时告警数据
export const getshishigailistapi = params => request.get('pio-microservice-biz/pio/alarm/realTimeAlarmList', { params })
// 实时告警确认保存
export const getsurebaocunapi=data=>request.post(`pio-microservice-biz/pio/alarm/process?content=${data.content}&processTime=${data.processTime}&soeid=${data.soeid}`)
// 告警复归
export const getfuguiapi = data => request.post(`pio-microservice-biz/pio/alarm/return?soeid=${data.soeid}`)
// 查询实时告警数量（告警类型）                          pio-microservice-biz/pio/alarm/realTimeAlarmTypeCount
export const getgaojintypeapi = params => request.get('pio-microservice-biz/pio/alarm/realTimeAlarmTypeCount', { params })

// 获取该用户订阅的告警企业列表
export const getCallPoliceapi = () => request.get('/pio-microservice-biz/pio/alarm/alarmCompanyList')




// 获取该用户订阅的告警企业列表
export const getalarmCompanyListapi = params => request.get('/pio-microservice-biz/pio/alarm/alarmCompanyList', { params })
// 实时告警数据
export const getrealTimeAlarmListapi = params => request.get('/pio-microservice-biz/pio/alarm/realTimeAlarmList', { params })
export const getfenzuapi = () => request.get('/core/dictionary/combo-item/list?dictType=EventLevel')